-
Home
-
Advanced Coupons – WooCommerce Coupons & Store Credit
-
3.1.4
-
Code
-
Classes
- Admin
Total Complexity |
58 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
387 |
Lines of code |
158 |
Logical lines of code |
83 |
Comment lines |
152 |
Methods |
12 |
Properties |
4 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
ajax_save_bogo_deals() |
B |
44 |
21 |
36 |
_sanitize_product_data() |
A |
48 |
12 |
32 |
ajax_clear_bogo_deals() |
A |
52 |
8 |
21 |
_set_notice_settings_default_values() |
S |
59 |
5 |
15 |
_migrate_coupon_types_to_bogo_on_activate() |
S |
58 |
2 |
18 |
get_instance() |
S |
70 |
2 |
6 |
initialize() |
S |
67 |
2 |
8 |
run() |
S |
70 |
2 |
6 |
__construct() |
S |
70 |
1 |
6 |
register_bogo_coupon_type() |
S |
75 |
1 |
4 |
_save_bogo_deals() |
S |
78 |
1 |
3 |
activate() |
S |
82 |
1 |
3 |